<?php 
    $subject    = !empty($this->subject)?$this->subject:"";
    $url        = !empty($this->url)?$this->url:"#";
    $title      = !empty($this->title)?$this->title:"";
    $mod_email  = $this->mod_email;
    $user_name	= $this->user_name;
    $is_contest = $this->is_contest
?>

<h3>Hi Moderator,</h3>
<div>
    <p><?php 
        if ($is_contest)
        {
             echo "$user_name commented on $title contest .";
        }else{
            echo "$user_name commented on $this->entry_name entry .";
        }
    ?></p>
    <br>
    <p>
        <a target="_blank" href="<?php echo $url?>">
            [Click here to view comment] 
        </a>
    </p>
    <br><hr>
    <p>This message was sent to <?php echo $mod_email?> because you are listed as moderator of contest "<?php echo $title?>".</p>
    <p>The YouNet Media Team.</p>
</div>